local meta = FindMetaTable( "Player" )
if (!meta) then 
    Msg("ALERT! Could not hook Player Meta Table\n")
    return 
end

if SERVER then
	function meta:AddResource( amount )
		self.PlyRes = self.PlyRes + amount
	end
	
	function meta:SetResource( amount )
		self.PlyRes = amount
	end
	
end

function meta:GetResource()
	return self.PlyRes
end

meta.GetRes = meta.GetResource